SR90 Series Digital Controller Communication Driver

 

SR90 Series Digital Controller is driver to communicate with controller of Shimaden Co., Ltd, in Japan.

 

1. Read settings

 

<Figure 1> is read setting example of SR90 Series Digital Controller communication driver.

 
<Figure 1> Read setting example of SR90 Series Digital Controller communication driver

Device part of  <Figure 1> input Com Port(COM1), Baud Rate(9600), Parity Bit(2), Data Bit(7), Stop Bit(1) respectively, according to device.

Also, you can enter BCC format(0 = No BCC, 1 = SUM, 2 = Two's complement, after SUM, 3 = XOR, Default : 3) set at device, Start/End code format of protocol(0 = STX/ETX, 1 = ATT(40h, 3Ah), Default :1) by classifying as comma(,).

 

SR90 Series Digital Controller communication driver's read schedule

Read schedule setting parameters are as follows :

1)    STATION – Enter device address between 1 and 99. (Usually, value between 1 and 31)

2)    Read Command – Enter READ command.

3)    Read Start Address – Data start address to read. (Refer to <Table 1>)

Enter number as decimal or hexadecimal. In case of hexadecimal, enter 'h' at end of number.

4)    Save start address for Communication Server – Saving start address of Communication Server.

5)    Read Size - Number of data size to read. Enter between 1 and 10.

 

Read schedule example)

READ,     1,   READ,     100h,    0,   6,

 

<Table 1> is main data address and contents of SR90 Series Digital Controller communication driver.

Main Data
Address

Parameter

Contents

Remarks
100h

PV_W

Measured Value

Each data value uses WORD unit.
101h

SV_W

SV Value in Execution

102h

OUT1_W

Control Output 1 Value

103h

OUT2_W

Control Output 2 Value(without option = 0000h)

104h

EXE_FLG

Action Flag(bit without action = 0)

105h

EV_FLG

Event Output Flag(without option = 0000h)

<Table 1> Main data address and contents of SR90 Series Digital Controller communication driver

Refer to 'Communication Interface' Instruction Manual of SR-90 Series about detailed data address and contents of SR90 Series Digital Controller communication driver.

Read value of SR90 Series Digital Controller communication driver is saved at WORD/DWORD/FLOAT memory as same value(Only, save format is different).

If you click the icon ¼³¸í: ¼³¸í: ¼³¸í: 2 in protocol option part at <Figure 1>, you can see the dialog box such as <Figure 2>. you can also set read schedule by using this part.

 
<Figure 2> Example of SR90 Series Digital Controller driver's Option dialog box

You can set read schedule by using ¼³¸í: ¼³¸í: ¼³¸í: 3, ¼³¸í: ¼³¸í: ¼³¸í: 4, ¼³¸í: ¼³¸í: ¼³¸í: 5 button and listbox of <Figure 2>.

Also, you can set BCC type and Start/End code format of protocol(which is set at device) at 'BCC Type', 'Start/End Code Type' part of <Figure 2>.

<Figure 3> Example of SR90 Series Digital Controller driver's read schedule Add/Edit dialog box

When you click Add button or Edit button in dialog box of <Figure 2>, dialog box of <Figure 3> is shown.

 

2. Writing settings

You can setting value of SR90 Series Digital Controller by using writing setting.

 

Digital Write

Digital write and analog write have the same setting parameters except output value(0 or 1).

 

Analog Write

Analog write setting parameters are as follows :

1)  PORT                  Connected port number. (Not COM number)

2)  STATION                           Enter device address between 1 and 99. (Usually, value between 1 and 31)

3)  ADDRESS            Enter data address to output as hexadecimal.

4)  Extra1                  Enter WRITE command.

5)  Extra2                  Don't care.

 

Write example 1)

PORT : 0   STATION : 1   ADDRESS : 0300  EXTRA1 : WRITE  EXTRA2 : 0

If you set as above and writing analog value, you can change SV1 of no.1 SR90 Series device connected no.0 port as set value.

Write example 2)

PORT : 0   STATION : 1   ADDRESS : 0400  EXTRA1 : WRITE  EXTRA2 : 0

If you set as above and writing analog value, you can change PB1 of no.1 SR90 Series device connected no.0 port as set value.

 

Block Write

There is no Block Write for SR90 Series Digital Controller.